function ObjectsToMatch=RemoveObjectFromMatchGroup(ObjectsToMatch,Number)
% index=find(ObjectsToMatch==Number);
% ObjectsToMatch(index)=[];
ObjectsToMatch(ObjectsToMatch==Number)=[];